<%@ include file="/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
		<tr>
			<td>
				<table>
					<caption>
						货物信息
					</caption>
					<tr><td>
						<table class="list">
				            <tr class="title">
					          <td width="3%">序号</td>
				              <td>货物名称</td>
				              <c:if test="${decl.type=='B'}">
				              	<td width="6%">展览方式</td>
				              </c:if>
				              <td width="4%">图片</td>
				              <td width="8%">HS编码</td>
				              <td width="6%">监管类别</td>
				              <td width="9%">原产国/地区<br/></td>
				              <td width="7%">数量</td>
				              <td width="7%">重量</td>
				              <td width="7%">包装</td>
				              <td width="7%">货值(美元)</td>
				              <td width="7%">检验</td>
				              <td width="7%">检疫</td>
				              <td width="7%">木包装</td>
				            </tr>
				            <tbody name="disp" style="cursor:pointer;">
					            <c:forEach items="${map.anchorGoodsList}" varStatus="stat" var="goods">
 					             <c:set var="linecout" value="${stat.count}"/>
	  				             <tr onclick="queryInspectionResult(${decl.id},${goods.id},2);">
	  				             	<td>${stat.count}</td>
					            	<td>${goods.goodsCname}</td>
					            	<c:if test="${decl.type=='B'}">
						            	<td><mytag:c2s type="exhibitCode" key="${goods.exhibitCode}"/></td>
					            	</c:if>
					            	<td><a href="#${stat.count}" onclick="openFileViewWin(${goods.id});"><img src="images/plus.jpg"/></a></td>
					            	<td>${goods.hsCode}</td>
					            	<td>${goods.inspMonitorCond}</td>
					            	<td><mytag:c2s key="${goods.originCountryCode}" type="country"/></td>
					            	<td>${goods.qty}<mytag:c2s key="${goods.qtyUnitCode}" type="measure"/></td>
					            	<td>${goods.weight}<mytag:c2s key="${goods.weightUnitCode}" type="measure"/></td>
					            	<td>${goods.packNumber}<mytag:c2s key="${goods.packTypeCode}" type="pack"/></td>
					            	<td><fmt:formatNumber maxFractionDigits="2" value="${goods.valuesUsd}" /></td>
					            	<td>
					            		<mytag:c2s type="testResult" key="${goods.inspectionResult}"/>
					            	</td>
					            	<td>
					            		<mytag:c2s type="testResult" key="${goods.quarantineResult}"/>
					            	</td>
					            	<td>
					            		<mytag:c2s type="testResult" key="${goods.woodPackCheck.woodResultCode}"/>&nbsp;
					            	</td>
					             </tr>
					            </c:forEach>
				            </tbody>
				            <tbody id="wrapElement" style="cursor:pointer;">
					            <c:forEach items="${map.nonAnchorGoodsList}" varStatus="stat" var="goods">
	  				             <tr style="color:green;" onclick="queryInspectionResult(${decl.id},${goods.id},2);">
	  				             	<td>${stat.count+linecout}</td>
					            	<td>${goods.goodsCname}</td>
					            	<c:if test="${decl.type=='B'}">
						            	<td><mytag:c2s type="exhibitCode" key="${goods.exhibitCode}"/></td>
					            	</c:if>
					            	<td><a href="#${stat.count}"><img src="images/plus.jpg" onclick="openFileViewWin(${goods.id});"/></a></td>
					            	<td>${goods.hsCode}</td>
					            	<td>${goods.inspMonitorCond}</td>
					            	<td><mytag:c2s key="${goods.originCountryCode}" type="country"/></td>
					            	<td>${goods.qty}<mytag:c2s key="${goods.qtyUnitCode}" type="measure"/></td>
					            	<td>${goods.weight}<mytag:c2s key="${goods.weightUnitCode}" type="measure"/></td>
					            	<td>${goods.packNumber}<mytag:c2s key="${goods.packTypeCode}" type="pack"/></td>
					            	<td><fmt:formatNumber maxFractionDigits="2" value="${goods.valuesUsd}" /></td>
					            	<td>
				            			<mytag:c2s type="testResult" key="${goods.inspectionResult}"/>
					            	</td>
					            	<td>
				            			<mytag:c2s type="testResult" key="${goods.quarantineResult}"/>
					            	</td>
					            	<td>
					            		<mytag:c2s type="testResult" key="${goods.woodPackCheck.woodResultCode}"/>&nbsp;
					            	</td>
					             </tr>
					            </c:forEach>
				             </tbody>
				             <%-- 
				             <tr>
				            	<td colspan="20">
				            		<span><a href="#thead" onclick="toggleDisplay('wrapElement')">非重点监管货物显示切换1</a></span>
				            	</td>
				             </tr>
				             --%>
						</table>
					</td></tr>
				</table>
			</td>
		</tr>